import request from '@/utils/request'

// 查询班系管理列表
export function listShiftclassmanagement(query) {
  return request({
    url: '/system/shiftclassmanagement/list',
    method: 'get',
    params: query
  })
}

// 查询班系管理详细
export function getShiftclassmanagement(id) {
  return request({
    url: '/system/shiftclassmanagement/' + id,
    method: 'get'
  })
}

// 新增班系管理
export function addShiftclassmanagement(data) {
  return request({
    url: '/system/shiftclassmanagement',
    method: 'post',
    data: data
  })
}

// 修改班系管理
export function updateShiftclassmanagement(data) {
  return request({
    url: '/system/shiftclassmanagement',
    method: 'put',
    data: data
  })
}

// 删除班系管理
export function delShiftclassmanagement(id) {
  return request({
    url: '/system/shiftclassmanagement/' + id,
    method: 'delete'
  })
}
